<?php
include_once '_inc.php';

define('WWWROOT_URL', 	'http://192.168.56.110/zjh/');

$cfg						= require_once ROOT . 'configs/config.php';
$cfg[CFG_PATH_FLASH]		= WWWROOT_URL . 'core/';
$cfg[CFG_PATH_GAME]			= WWWROOT_URL . '__account_common/';
$cfg[CFG_PATH_SECURITY]		= array( '' );
$cfg[CFG_PATH_XML_SYSTEMS]	= WWWROOT_URL . '_tmp/data/system.xml?v=' . NOW;
$cfg[CFG_PATH_XML_ROOMS]	= WWWROOT_URL . '_tmp/data/rooms.xml?v=' . NOW;
$cfg[CFG_PATH_GATEWAY]		= WWWROOT_URL . 'alpha/gateway.php';
$cfg[CFG_PRIVATE_KEY]		= '4befc16503e30b069ccce657608ac690';
$cfg[CFG_FUNC_SWITCH]		= array( // 超级开关功能 调用方式例 ujn::getCFG(CFG_FUNC_SWITCH.'.rewardFans')
	'rewardFans' => true, // 粉丝奖励
);

$cfg[CFG_IS_ADMIN] = true;
$cfg['flashver_flag'] = "local";

ujn::runApplication( $cfg, 'main' );